<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>index</title>
</head>
<body>
    <h2>这是ejs模板引擎页面</h2>
    <h2><%=msg%></h2>
    <ul>
        <%for(user of list){%>
        <li>
            <%=user.name%> -- <%=user.age%>
        </li>
        <%}%>
    </ul>
    <%-h2%>
</body>
</html>